- unless @user.galleries.empty?
  - @user.galleries.each do |gallery|
    %table.index_gallery
      %tr
        %td= gallery.name
      %tr
        %td.gallery_preview
          %a{:href => gallery_url(gallery), :title => gallery.text_description}
            %img.photo_thumb{:src => gallery.thumbnail, :title => gallery.text_description}
- else
  %p You do not have any galleries assigned to you at this time.